package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合伙人推荐入驻商铺表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("partner_recommend_store")
public class PartnerRecommendStore extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 合伙人主键id
     */
    @TableField("partner_id")
    private Integer partnerId;
    /**
     * 商城关联商铺主键id
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 流水收益抽成比例
     */
    @TableField("flow_income_rate")
    private BigDecimal flowIncomeRate;
    /**
     * 商品利润收益抽成比例
     */
    @TableField("shop_profit_rate")
    private BigDecimal shopProfitRate;
    /**
     * 备注
     */
    private String remark;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_delete")
    private Integer isDelete;


    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField("gmt_modified")
    private Date gmtModified;

}
